package com.vhall.component.entity.account.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 主播端登录参数
 *
 * @author xing.wang
 * @date 2022/09/30
 */
@Data
public class AnchorLoginVO implements Serializable {
    /**
     * 直播房间id
     * 1231
     */
    @ParamName(value = "il_id")
    @NotNull(message = "直播房间id不能为空")
    private Integer ilId;
    /**
     * 主播登录口令
     */
    @NotBlank(message = "口令不能为空")
    private String password;

}
